#-------------------------------------------------
#
# Project created for FTP Client Core
#
#-------------------------------------------------

QT       += core network
PROJECT_DESTDIR=$$(PROJECT_DESTDIR)
TARGET = FtpClientCore
TEMPLATE = lib
CONFIG += dll

# MSVC compiler UTF-8 support
msvc: {
    QMAKE_CXXFLAGS += /utf-8
    QMAKE_CFLAGS += /utf-8
}
DEFINES += FTP_CLIENT_CORE_LIBRARY

# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as deprecated
DEFINES += QT_DEPRECATED_WARNINGS

SOURCES += \
    src/ftpclient.cpp \
    src/ftpprotocol.cpp

HEADERS += \
    include/ftpclient_global.h \
    include/ftpclient.h \
    include/ftpprotocol.h

INCLUDEPATH += $$PWD/include

# 输出目录设置
isEmpty(PROJECT_DESTDIR) : PROJECT_DESTDIR=$$PWD/../bin
DESTDIR = $$PROJECT_DESTDIR
message("project DESTDIR" $$DESTDIR)